package com.github.linkoog.model_designer.ide.editer.common;

import com.github.linkoog.model_designer.ide.editer.dbmodel.domain.TableNavigatable;

import java.util.List;

public class TableVo extends TableNavigatable {


    private List<? extends Column> columns;

    public TableVo() {
    }

    public TableVo(String name, String comment, List<Column> columns) {
        this.name = name;
        this.comment = comment;
        this.columns = columns;
    }

    public List<Column> getColumns() {
        return (List<Column>) columns;
    }

    public void setColumns(List<? extends Column> columns) {
        this.columns = columns;
    }
}
